package main

//// http 请求结构体
//type CreateOrder struct {
//	OrderID   int64  `json:"order_id" validate:"required"`
//	UserID    int64  `json:"user_id" validate:"required"`
//	ProductID int    `json:"prod_id" validate:"required"`
//	Addr      string `json:"addr" validate:"required"`
//}
//
////// thrift 请求结构体
////type FeatureSetParams struct {
////	DriverID  int64  `thrift:"driverID,1,required"`
////	OrderID   int64  `thrift:"OrderID,2,required"`
////	UserID    int64  `thrift:"UserID,3,required"`
////	ProductID int    `thrift:"ProductID,4,required"`
////	Addr      string `thrift:"Addr,5,required"`
////}
//
//// controller input struct
//type CreateOrderParams struct {
//	OrderID int64
//	UserID int64
//	ProductID int
//	Addr string
//}
//
//type FeatureSetParams struct {
//	DriverID  int64  `thrift:"driverID,1,required" json:"driver_id"`
//	OrderID   int64  `thrift:"OrderID,2,required" json:"order_id"`
//	UserID    int64  `thrift:"UserID,3,required" json:"user_id"`
//	ProductID int    `thrift:"ProductID,4,required" json:"prod_id"`
//	Addr      string `thrift:"Addr,5,required" json:"addr"`
//}
